import request from "@/utils/request"

export function queryCompanyPage(data) {
  return request({
    url: "/ACustomerCompany/queryPageV2",
    method: "POST",
    data: data
  })
}

export function queryCompanyList(data) {
  return request({
    url: "/ACustomerCompany/queryList",
    method: "GET",
    params: data
  })
}

export function insertCompanyPage(data) {
  return request({
    url: "/ACustomerCompany/insert",
    method: "POST",
    data: data
  })
}

export function updateCompanyPage(data) {
  return request({
    url: "/ACustomerCompany/update",
    method: "POST",
    data: data
  })
}

